<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

	<link rel="bookmark" type="image/x-icon" href="http://static.zcool.cn/git_z/z/site/favicon.ico?version=1517309466392" />
	<link rel="shortcut icon" type="image/x-icon" href="http://static.zcool.cn/git_z/z/site/favicon.ico?version=1517309466392" />
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <title>dem</title>
  </head>
  <body>
		<div class="container">
		<h4>beetl 内置函数</h4>
	${ctxPath}
	</br>
			<% if(so.isUser()) { %>
				 okokokokokkokkok
			<%}%>
		${session.SESSION_AUTH_LOGIN_USERNAME}
			</br>
		${date( "2011-1-1 11:22:11.0", "yyyy-MM-dd" )}
		</br>
		${isEmpty(null) }
		</br>
		${isNotEmpty(null) }
		</br>
		${parseInt("123")}
		<% var date = date(); %>
		Today is ${date,dateFormat="yyyy-MM-dd hh:mm"}
		Today is ${date,dateFormat}
		</br>
		
		<%
		layout("/inc/layout.html",{title:'主题'}){
		%>
		Hello,this is main part
		<% } %>
		
		
		</br>
     ${ strutil.startWith("hello","he")}
		</br>
	 ${ strutil.endWith("hello","o")} 
	 	</br>
     ${ strutil.length ("hello")}
     	</br>
     ${ strutil.subString ("hello",1)}


     	</br>
     ${ strutil.toLowerCase("Hello")}
     	</br>

    
			</div>


			
		</div>
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  </body>
</html>